﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;

namespace XWG.JWBST.JWBSTManagementApp
{
    /// <summary>
    /// Heart 的摘要说明
    /// </summary>
    public class Heart : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            File.AppendAllText(HttpContext.Current.Server.MapPath("") + "\\log.txt", "心跳 \r\n");
            context.Response.ContentType = "text/plain";
            context.Response.Write("");
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}
